<h1><?php echo $tpl_ptitle;?></h1>
<?php if(!empty($tpl_posts)):?>
<div id="posts">
<?php foreach($tpl_posts as $o_val):?>
	<?php $s_content = explode('<!--break-->', $o_val->content);?>
	<div class="post">
	<h3><?php echo $o_val->title?></h3>
	<div class="p_date">Escrito el: <strong><?php echo $o_val->modified?></strong></div>
	<div class="p_desc"><?php echo $s_content[0]?>...</div>
	<div class="p_mais"><a href="<?php echo URL_POST.ABapi::encodeURL($o_val->title); ?>">Ver más...</a></div>
	</div>
<?php endforeach;?>
</div>
<?php endif?>
